package com.cosmoplat.xikai.business.domain.dto.productPlan;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName ProductPlanQueryDTO
 * @Description 生产计划查询参数
 * @Author wdf
 * @Date 2025/1/7
 */
@ApiModel(value = "生产计划查询参数")
@Data
public class ProductPlanQueryDTO {

    /**
     * 订单号
     */
    @ApiModelProperty(value = "订单号",  example = "WORKORDER001")
    private String workOrderNo;

    /**
     * 物料编号
     */
    @ApiModelProperty(value = "物料编号",  example = "CODE001")
    private String materialCode;

    /**
     * 物料名称
     */
    @ApiModelProperty(value = "物料名称",  example = "示例物料")
    private String materialName;


    /**
     * 生产状态：0:未开始 1:进行中 2:已完成  3:暂停
     * TaskPlanStatusEnum
     *
     */
    @ApiModelProperty(value = "生产状态，0:未开始 1:进行中 2:已完成  3:暂停", example = "0")
    private Integer taskPlanStatus;


    @ApiModelProperty(value = "计划开始时间", example = "2025-01-01 00:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date planStartTime;

    @ApiModelProperty(value = "计划结束时间", example = "2025-01-01 00:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date planEndTime;
}
